Skip to content

feat: add noScroll option to useSearchParams#347

Merged
huntabyte merged 7 commits intosvecosystem:mainfrom
fseda:feat/keepscroll-option-on-navigate-usesearchparams
Oct 13, 2025
Merged

feat: add noScroll option to useSearchParams#347
huntabyte merged 7 commits intosvecosystem:mainfrom
fseda:feat/keepscroll-option-on-navigate-usesearchparams

Conversation

@fseda
Copy link
Contributor

@fseda fseda commented Oct 8, 2025

Maps to the noScroll option of the goto function.

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2025

⚠️ No Changeset found

Latest commit: 9c80063

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@fseda
Copy link
Contributor Author

fseda commented Oct 8, 2025

Closes #346

Comment on lines +3 to +9
## 0.35.0

### Patch Changes

- feat(useSearchParams): add `keepScroll` option to preserve scroll position during URL updates
([#347](https://github.com/svecosystem/runed/pull/347))

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## 0.35.0
### Patch Changes
- feat(useSearchParams): add `keepScroll` option to preserve scroll position during URL updates
([#347](https://github.com/svecosystem/runed/pull/347))

No need to add this, we handle this automatically via changesets

@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
runed ❌ Failed (View Log) 9c80063

@github-actions github-actions bot requested a deployment to Preview October 13, 2025 16:05 Abandoned
@github-actions github-actions bot requested a deployment to Preview October 13, 2025 16:19 Abandoned
@huntabyte huntabyte changed the title feat: add keepScroll option to preserve scroll position during URL updates feat: add noScroll option to useSearchParams Oct 13, 2025
Copy link
Member

@huntabyte huntabyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@huntabyte huntabyte merged commit 68d6f51 into svecosystem:main Oct 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants